package com.xrtn.mapper;

import com.xrtn.bean.SysUserInfo;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface SysUserInfoMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(SysUserInfo record);

    int insertSelective(SysUserInfo record);

    SysUserInfo selectByPrimaryKey(Integer userId);

    SysUserInfo selectByUserInfo(Map<String, Object> params);

    List<Map<String, Object>> selectSysUserList(Map<String, Object> params);

    List<Map<String, Object>> selectSysUserList2(Map<String, Object> params);

    List<SysUserInfo> selectUserListByMap(Map<String, Object> params);

    /**
     * 获取员工绩效列表
     * @param params
     * @return
     */
    List<Map<String, Object>> selectUserSaleList(Map<String, Object> params);
    /**
     * 获取员工绩效明细
     * @param params
     * @return
     */
    List<Map<String, Object>> selectUserSaleDetail(Map<String, Object> params);

    int updateByPrimaryKeySelective(SysUserInfo record);

    int updateByPrimaryKey(Integer userId);

    Integer selectUserMaxNo();

    int updateStatusByKey(Map<String, Object> params);
}